body{
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    font-family: -apple-system, Helvetica, sans-serif;
    line-height: 1.5;
}
/*点击高亮我们需要清除清除  设置为transparent 完成透明*/
* {
    -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/
input {
    -webkit-appearance: none;
}
/*禁用长按页面时的弹出菜单*/
img,
a {
    -webkit-touch-callout: none;
}

a{
    color: #666;
    text-decoration: none;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
img{
    vertical-align: middle;
}
div{
    box-sizing: border-box;
}
.app{
    height: 45px;
}
.app ul li{
    float: left;
    height: 45px;
    background-color: #333;
    text-align: center;
    line-height: 45px;
    color: #fff;
}
.app ul li:nth-child(1){
    width: 8%;
}
.app ul li:nth-child(1) img{
    width: 10px;
}
.app ul li:nth-child(2){
    width: 10%;
}
.app ul li:nth-child(2) img{
    width: 30px;
    /* 让图片和文字对其 */
    vertical-align: middle;
}
.app ul li:nth-child(3){
    width: 57%;
}
.app ul li:nth-child(4){
    width: 25%;
    background-color: #F63515;
}
/* 搜索 */
.search-wrap{
    position: fixed;
    height: 44px;
    /* 加了固定定位的盒子一定要给宽度 */
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    overflow: hidden;
}
.search-btn{
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 44px;
}
.search-btn::before{
    content: '';
    display: block;
    width: 20px;
    height: 18px;
    background:url(../images/s-btn.png) no-repeat;
    background-size: 20px 18px;
    margin: 14px 0 0 15px; 
}
.search-login{
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 44px;
    color: #fff;
    line-height: 44px;

}
.search{
    position: relative;
    height: 30px;
    background-color: #fff;
    margin: 0 50px;
    border-radius: 15px;
    margin-top: 7px;
}
.jd-icon{
    width: 20px;
    height: 15px;
    position: absolute;
    top: 8px;
    left: 13px;
    background: url(../images/jd.png) no-repeat;
    background-size: 20px 15px;
}
.jd-icon::after{
    content: '';
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ccc;
    position: absolute;
    right: -8px;
    top: 0;
}
.sou{
    width: 18px;
    height: 15px;
    position: absolute;
    top: 9px;
    left: 50px;
    background:url(../images/jd-sprites.png) no-repeat -81px 0;
    background-size: 200px auto;
}
/* 主题内容部分 */
.slider img{
    width: 100%;
}
/* 品牌日 */
.brand{
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}
.brand div{
    float: left;
    width: 33.33%;
}
.brand div img{
    width: 100%;
}
/* nav */
nav{
    padding-top: 5px;
}
nav a{
    float: left;
    width: 20%;
    text-align: center;
}
nav a img{
    width: 40px;
    margin: 10px 0;
}
nav a span{
    display: block;
}
/* 新闻模块 */
.news{
    margin-top: 20px;
}
.news img{
    width: 100%;
}
.news a{
    float: left;
    box-sizing: border-box;
}
.news a:nth-child(1){
    width: 50%;
}
.news a:nth-child(2),.news a:nth-child(3){
    width: 25%;
    border-left: 1px solid #ccc
}